package com.lkm.app_ui.ui.fj;

import com.lkm.app_ui.RunTimeData;



public class FjInfo {


    

    public int orderCount;

    

    private FjOrder curFjOrder;

    

    private FjOrder.FjItem curFjItem;

    

    public void setCurFj(FjOrder curFjOrder, FjOrder.FjItem fjItem) {
        this.curFjOrder = curFjOrder;
        this.curFjItem = fjItem;
        if (fjItem != null) {
            RunTimeData.price = fjItem.price;
            RunTimeData.goodsName = fjItem.goodsName;
        } else {
            RunTimeData.price = null;
            RunTimeData.goodsName = null;
        }
        FjApp.install.upFjInfo(this);
    }

    public FjOrder getCurFjOrder() {
        return curFjOrder;
    }

    public FjOrder.FjItem getCurFjItem() {
        return curFjItem;
    }
}
